package com.westos.userauth.dao;


import com.westos.userauth.domain.PartyAttribute;
import org.apache.ibatis.annotations.Param;

import java.util.List;


public interface PartyAttributeDao {
    /** 根据partyId删除 PartyAttribute表中的关联行
     * */
    int deletePartyAttributeByPartyId(String partyId);

    int insertPartyAttribute(PartyAttribute partyAttribute);

    int updatePartyAttribute(PartyAttribute partyAttribute);

    int deletePartyAttribute(String partyId);

    //根据AttrName查询PartyAttribute对象
    List<PartyAttribute> queryAttributeByAttrName(String attrName);

    PartyAttribute queryAttribute(String partyId);
}
